package com.gviiii.baiduai.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class FsResultInfo {

    @JsonProperty("face_token")
    private String faceToken;

    @JsonProperty("user_list")
    private List<UserList> userList;

    public String getFaceToken() {
        return faceToken;
    }

    public void setFaceToken(String faceToken) {
        this.faceToken = faceToken;
    }

    public List<UserList> getUserList() {
        return userList;
    }

    public void setUserList(List<UserList> userList) {
        this.userList = userList;
    }

    @Override
    public String toString() {
        return "FsResultInfo{" +
                "faceToken='" + faceToken + '\'' +
                ", userList=" + userList +
                '}';
    }

    public static class UserList{
        private String groupId;

        private String userId;

        private String userInfo;

        private float score;

        public String getGroupId() {
            return groupId;
        }

        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(String userInfo) {
            this.userInfo = userInfo;
        }

        public float getScore() {
            return score;
        }

        public void setScore(float score) {
            this.score = score;
        }

        @Override
        public String toString() {
            return "{" +
                    "groupId='" + groupId + '\'' +
                    ", userId='" + userId + '\'' +
                    ", userInfo='" + userInfo + '\'' +
                    ", score=" + score +
                    '}';
        }
    }
}
